@primarycolor: var(--main-color);
@secondcolor: var(--second-color);
@color3: var(--bar-color);

:root {
  --main-color: #ffffff;
  --second-color: #fafafa;
  --main-text-color: #000000;
  --bar-color: #8dc26f;
}
.register-page {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9bbd87;
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media only screen and (min-width: 450px) {
  .form {
    position: relative;
    z-index: 1;
    width: 380px;
    background: var(--main-color);
    margin: 0 auto 100px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);

    input {
      font-family: 'Roboto', sans-serif;
      outline: 0;
      background: #f2f2f2;
      width: 100%;
      border: 0;
      margin: 0 0 15px;
      padding: 15px;
      box-sizing: border-box;
      font-size: 14px;
    }

    button {
      font-family: 'Roboto', sans-serif;
      text-transform: uppercase;
      outline: 0;
      background: @color3;
      width: 100%;
      border: 0;
      padding: 15px;
      color: @primarycolor; //字體-白
      font-size: 14px;
      -webkit-transition: all 0.3 ease;
      transition: all 0.3 ease;
      cursor: pointer;

      :hover,
      :active,
      :focus {
        background: @primarycolor;
      }
    }

    .message {
      margin: 15px 0 0;
      color: #b3b3b3;
      font-size: 12px;

      a {
        color: #4caf50;
        text-decoration: none;
      }
    }
  }
}

@media only screen and (max-width: 450px) {
  .form {
    position: relative;
    z-index: 1;
    width: 80%;
    background: var(--main-color);
    margin: 0 auto 100px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);

    input {
      font-family: 'Roboto', sans-serif;
      outline: 0;
      background: #f2f2f2;
      width: 100%;
      border: 0;
      margin: 0 0 15px;
      padding: 15px;
      box-sizing: border-box;
      font-size: 14px;
    }

    button {
      font-family: 'Roboto', sans-serif;
      text-transform: uppercase;
      outline: 0;
      background: @color3;
      width: 100%;
      border: 0;
      padding: 15px;
      color: @primarycolor; //字體-白
      font-size: 14px;
      -webkit-transition: all 0.3 ease;
      transition: all 0.3 ease;
      cursor: pointer;

      :hover,
      :active,
      :focus {
        background: @primarycolor;
      }
    }

    .message {
      margin: 15px 0 0;
      color: #b3b3b3;
      font-size: 12px;

      a {
        color: #4caf50;
        text-decoration: none;
      }
    }
  }
}

.info {
  h1 {
    margin: 0 0 15px;
    padding: 0;
    font-size: 36px;
    font-weight: 300;
    color: #1a1a1a;
  }

  span {
    color: #4d4d4d;
    font-size: 12px;

    a {
      color: #000000;
      text-decoration: none;
    }

    .fa {
      color: #ef3b3a;
    }
  }
}
